﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MonPocGarage.ArmyContracts;
using MonPocGarage.ArmyContracts.Common;
using MonPocGarage.ArmyData.Builders;

namespace MonPocGarage.ArmyData
{
    public class ArmyDataMgr
    {
        private readonly List<Monster> m_MonsterList;
        private readonly List<Unit> m_UnitList;
        private readonly List<Building> m_BuildingList;

        public ArmyDataMgr()
        {
            m_MonsterList = BuildMonsterList.Build();
            m_UnitList = BuildUnitList.Build();
            m_BuildingList = BuildBuildingList.Build();
        }

        public List<Monster> GetMonsterList()
        {
            return m_MonsterList;
        }

        public List<Unit> GetUnitList()
        {
            return m_UnitList;
        }

        public List<Building> GetBuildingList()
        {
            return m_BuildingList;
        }

        public List<IAbility> GetAbilityList()
        {
            return BuildAbilityList.GetAbilityList();
        }
    }
}
